<form action="{:url()}" method="post" class="form_single">
    <div class="box">
        <div class="box-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>标题</label>
                        <span class=""></span>
                        <input class="form-control" name="name" placeholder="请输入职位名称" value="{$info['jobs_name']|default='联系我们'}" type="text">
                    </div>
                </div>
            </div>
            
            <div class="col-md-6">
                    <div class="form-group">
                        <label>封面图片</label>
                        <span class="">（建议上传 571×379 的图片）</span>
                        <br/>
                        {assign name="cover_id" value="$info.cover_id|default='0'" /}
                        {:widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img'])}
                    </div>
                </div>
        </div>
        
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label>联系方式</label>
                    <textarea class="form-control textarea_editor" name="content" placeholder="请输入工作内容">{$info['content']|default=''}</textarea>
                    {:widget('editor/index', array('name'=> 'content','value'=> ''))}
                </div>
            </div>
        </div>
        
        <div class="box-footer">

            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </div>
</div>
</form>